<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>注册</title>
	<script type="text/javascript" src="js/jquery-1.12.4.min.js" ></script>
	<script type="text/javascript" src="js/bootstrap.min.js" ></script>
	<link rel="stylesheet" type="text/css" href="css/register.css">
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/iconfont/Rjdaoico.css" type="text/css">
</head>
<body>
	<div class="log">
		<div class="pic"></div>
		<span>青鸟影院</span>
		<a href="${pageContext.request.contextPath}/index.jsp" class="a">bluebird.com</a>
		<i class="icon-edf4"> <a href="${pageContext.request.contextPath}/index.jsp">返回主页</a></i>
	</div>
	<hr>
	<div class="container">
		<form class="form-horizontal myform" action="${pageContext.request.contextPath}/memberRegister" method="post" enctype="multipart/form-data">
			<strong>注册</strong>
			<span>${error}</span>
			<div class="form-group">
				<label for="uname" class="col-sm-5 control-label">* 用户名：</label>
				<div class="col-sm-4">
					<input type="text" class="form-control" id="uname" name="memberName" placeholder="用户名"/><p>${error.memberName}</p>
				</div>
				<h5 class="logmsg"></h5>
			</div>
			<div class="form-group">
				<label for="pas" class="col-sm-5 control-label">* 创建密码：</label>
				<div class="col-sm-4">
					<input type="password" class="form-control" id="pas" name="memberPass" placeholder="创建密码"/><p>${error.memberPass}</p>
				</div>
			</div>
			<div class="form-group">
				<label for="repass" class="col-sm-5 control-label">* 确认密码：</label>
				<div class="col-sm-4">
					<input type="password" class="form-control" placeholder="确认密码" id="repass" name="password"><p>${msg}</p>
				</div>
			</div>
			<div class="form-group">
				<label for="phone" class="col-sm-5 control-label">* 手机号：</label>
				<div class="col-sm-4">
					<input type="number" class="form-control" id="phone" placeholder="手机号" name="memberPhone"/><p>${error.memberPhone}</p>
				</div>
			</div>
			<div class="form-group">
				<label for="head"  class="col-sm-5 control-label">上传头像：</label>
				<div class="file-box">
					<i class="icon-ecda"></i>
					<input type="file" id="head" name="img" class="file-btn" accept="image/*">
				</div>
			</div>
			<div class="form-group">
				<label for="btn"  class="col-sm-5 control-label"></label>
				<div class="col-sm-4">
					<input type="submit" id="btn" value="注册" class="btn btn-info form-control">
					<a href="${pageContext.request.contextPath}/login.jsp">有账号！去登录</a>
				</div>
			</div>
		</form>
	</div>
	<br>
	
</body>
</html>